//
// Created by jinbang.li on 2023/7/1.
//

#ifndef OPENPLAYDEMO_IOPRESAMPLE_H
#define OPENPLAYDEMO_IOPRESAMPLE_H
#include "../Data/OpParameter.h"
#include "../Observer/IOpObserver.h"

class IOpResample: public IOpObserver{
public:
    virtual bool Open(OpParameter in,OpParameter out = OpParameter()) = 0;//纯虚函数，由继承类来实现
    virtual OpData Resample(OpData indata) = 0;//纯虚函数，由继承类来实现
    virtual void update(OpData data);
    int outChannels = 2;
    int outFormat = 1;
};


#endif //OPENPLAYDEMO_IOPRESAMPLE_H
